# ifndef __S_LIST_CHAR
# define __S_LIST_CHAR

#include <stdio.h>
#include <stdlib.h>

struct CHAR_NODE
{
	char value;
	struct CHAR_NODE* next;
};
typedef struct CHAR_NODE CHAR_NODE;

typedef struct
{
	CHAR_NODE* last;
	CHAR_NODE* first;
	int count;
} LIST_CHAR;


LIST_CHAR* list_create();
LIST_CHAR* list_create_from_int(int num);
void stack_add(LIST_CHAR* list, char value);
void list_add(LIST_CHAR* list, char value);
void list_kill(LIST_CHAR* list);
void list_show(LIST_CHAR* list);
char* getString(LIST_CHAR* list);

# endif
